﻿using B.S.Orders.ErrorCord;
using MediatR;

namespace B.S.Orders.Write.Api.Application.Command.OutsourcingCommand
{
    public class AddOutsourcingCommand : IRequest<APIResult<object>>
    {
        /// <summary>
        /// 单据主题
        /// </summary>
        public string DocumentSubject { get; set; }
        /// <summary>
        /// 单据编号
        /// </summary>
        public string DocumentNumber { get; set; }
        /// <summary>
        /// 关联生产订单
        /// </summary>
        public string AssociateProductionOrder { get; set; }
        /// <summary>
        /// 委外加工商
        /// </summary>
        public string Processors { get; set; }
        /// <summary>
        /// 客户
        /// </summary>
        public string Client { get; set; }
        /// <summary>
        /// 我方代表人
        /// </summary>
        public string OurRepresentatives { get; set; }
        /// <summary>
        /// 付款计划
        /// </summary>
        public string PaymentPlan { get; set; }
        /// <summary>
        /// 收票计划
        /// </summary>
        public string TicketCollectionPlan { get; set; }
        /// <summary>
        /// 是否自动收货送检
        /// </summary>
        public bool AutomaticallyReceivedInspection { get; set; }
        /// <summary>
        /// 是否带料
        /// </summary>
        public bool WhetherMaterials { get; set; }
        /// <summary>
        /// 委外日期
        /// </summary>
        public DateTime DateOutsourcing { get; set; }
        /// <summary>
        /// 制单日期
        /// </summary>
        public DateTime PreparationDocumentsDate { get; set; }
        /// <summary>
        /// 制单人员
        /// </summary>
        public string PreparationDocumentsPerson { get; set; }
        /// <summary>
        /// 关联项目
        /// </summary>
        public string AssociatedProjects { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
    }
}
